<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
</head>
<body>
    <div class="container">
        <form action="/doForm" method="POST" role="form" enctype="multipart/form-data">
            <legend>添加小组成员</legend>
        
            <div class="form-group">
                <label for="">姓名</label>
                <input type="text" class="form-control" name="username" placeholder="请输入名字">
            </div>
            <div class="form-group">
                <label for="">年龄</label>
                <input type="text" class="form-control" name="age" placeholder="请输入年龄">
            </div>
            <div class="form-group">
                <label for="">兴趣</label>
                <input type="text" class="form-control" name="likes" placeholder="请输入兴趣">
            </div>
            <div class="form-group">
                <label for="">上传头像</label>
                <input type="file" class="form-control" name="pic" placeholder="Input field">
            </div>
            <button type="submit" class="btn btn-primary">添加数据</button>
            <a class="btn btn-primary" src="/home"> 完成 </a>

        </form>
    </div>
</body>
</html>